home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS09.ADF / MicroEMACS / MicroEMACS.DOC < prev    next >
Text File  |  1986-05-22  |  8KB  |  183 lines

  1.  
  2.          This is an updated and improved version of the MicroEMACS
  3.      originally found on AMICUS disk number 2. This improved version
  4.      was done by Andy Poggio (mostly) and Rick Wirch ( fixed up menus,
  5.      added left and right margin capabilities, ability to work
  6.      correctly from the workbench, and added a couple of commands ).
  7.  
  8. Memacs Command Summary
  9.  
  10. <ctrl-@>        Set Mark at current position.
  11. <ctrl-A>        Move cursor to beginning of line.
  12. <ctrl-B>        Move cursor BACK one character.
  13. <ctrl-C>        Push to a new interactive command shell.
  14. <ctrl-D>        DELETE current character.
  15. <ctrl-E>        Move cursor to END of line.
  16. <ctrl-F>        Move cursor FORWARD one character.
  17. <ctrl-G>        Abort any command. (shades of Teco).
  18. <ctrl-H>        (backspace) delete previous character.
  19. <ctrl-I>    TAB ( insert a TAB char or TAB number of spaces )
  20. <ctrl-K>        KILL (delete) to end of line.
  21. <ctrl-L>        Redisplay screen.
  22. <ctrl-M>    RETURN ( end current line and start a new one )
  23. <ctrl-N>        Move cursor to NEXT line.
  24. <ctrl-O>        OPEN a new line.
  25. <ctrl-P>        Move to PREVIOUS line.
  26. <ctrl-Q>        QUOTE the next character (insert the next character typed).
  27. <ctrl-R>        REVERSE Search.
  28. <ctrl-S>        Forward SEARCH.
  29. <ctrl-T>        TRANSPOSE characters.
  30. <ctrl-U>        Enter repeat count for next command.
  31. <ctrl-V>        VIEW the next screen (scroll up one screen).
  32. <ctrl-W>        Kill region (all text between cursor and last mark set).
  33. <ctrl-Y>        YANK (undelete) last text killed (deleted).
  34. <ctrl-Z>        Save file in current buffer and exit.
  35.  
  36. <ctrl-X>=    Show the cursor position in the file.
  37. <ctrl-X>(       Begin keyboard Macro.
  38. <ctrl-X>)       End keyboard Macro.
  39. <ctrl-X>1       Display only current window.
  40. <ctrl-X>2       Split the current window.
  41. <ctrl-X>B       Prompt for new BUFFER.
  42. <ctrl-X>E       EXECUTE keyboard Macro.
  43. <ctrl-X>I    Toggle the auto indentation mode.
  44. <ctrl-X>K       KILL a buffer.
  45. <ctrl-X>N       Move to NEXT window.
  46. <ctrl-X>P       Move to PREVIOUS window.
  47. <ctrl-X>T       Toggle word wrap.
  48. <ctrl-X>Z       Enlarge current window by repete count <ctrl-U> lines.
  49.  
  50. <ctrl-X><ctrl-B> Show active BUFFERS.
  51. <ctrl-X><ctrl-C> Exit without saving buffers.
  52. <ctrl-X><ctrl-F> VISIT a file ( read only )
  53. <ctrl-X><ctrl-L> Change a region to lower case.
  54. <ctrl-X><ctrl-O> Delete multiple blank lines.
  55. <ctrl-X><ctrl-N> Scroll current window up by repete count lines.
  56. <ctrl-X><ctrl-P> Scroll current window up by repete count lines.
  57. <ctrl-X><ctrl-R> READ file into current buffer.
  58. <ctrl-X><ctrl-S> SAVE (write) current buffer into its file.
  59. <ctrl-X><ctrl-V> VISIT a file. Read file and display in current window.
  60. <ctrl-X><ctrl-W> WRITE buffer to file.
  61. <ctrl-X><ctrl-X> SWAP point and mark.
  62. <ctrl-X><ctrl-Z> Reduce current window by repete count lines.
  63.  
  64. <del>           delete previous character.
  65.  
  66. <esc>!          Move current line to repeat count lines from top of window.
  67. <esc>%        Query Replace.
  68. <esc>.        Set mark at cursor position
  69. <esc>>          Move cursor to end of buffer.
  70. <esc><          Move cursor to beginning of buffer.
  71. <esc>B          Move cursor BACK one word.
  72. <esc>C          CAPITALIZE (Capitalize) word.
  73. <esc>D          DELETE next word.
  74. <esc><del>      DELETE previous word.
  75. <esc>F          Move cursor FORWARD one word.
  76. <esc>L          LOWERCASE (lowercase) next word.
  77. (esc>M        Move to a specified line number
  78. <esc>Q        PARAGRAPH FILL ( format a paragraph using margins ).
  79. <esc>U          UPPERCASE (UPPERCASE) next word.
  80. <esc>V          VIEW the previous screen (scroll down one screen).
  81. <esc>W        Copy region
  82. <esc>Y        Yank region to a specified file.
  83. <esc><ctrl-H>    Delete backward word.
  84.  
  85.     As an aside the CTRL-I or TAB key amount can be set as follows:  Press
  86. CTRL-U ( Command Repeat ) and enter the amount of spaces you wish the TAB
  87. key to perform followed by the TAB key.
  88.  
  89. ------ Special Amiga Additions ------
  90.  
  91. Memacs now works from the Workbench.  If you just double click on its icon 
  92. it starts with no file.  If you click on a document icon, hold down the 
  93. SHIFT key and double click on its icon, Memacs will start out editing that
  94. file.
  95.  
  96. LEFT BUTTON puts memacs cursor where mouse arrow is.  This is also an easy
  97. way to switch memacs windows.  A small annoyance is that memacs gets mouse
  98. button notification whenever its window is activated.  Thus, activating the
  99. window will move the memacs cursor unless mouse cursor is in top strip.
  100.  
  101. RIGHT BUTTON will set mark unless a menu item is selected.  If you push the
  102. right button accidently and you don't want to move the mark, just select
  103. "No Operation" from the menu.
  104.  
  105. COMBINATION:  Pressing the left button, then pressing the right button, 
  106. and releasing both will result in a character delete, i.e. a <DEL>.
  107.  
  108. Backspace   = backspace a char      SHIFT Backspace   = Backspace a word
  109. Del        = delete a char      SHIFT Del        = Delete a word
  110. Cursor Left = left          SHIFT Cursor Left = beginning of line
  111. Cursor Right= right          SHIFT Cursor Right= end of line
  112. Cursor Up   = up          SHIFT Cursor Up   = up one page
  113. Cursor Down = down          SHIFT Cursor Down = down one page
  114.  
  115. F1 = Search Forward          /F1 = Search Backward
  116. F2 = Query Replace Forward      /F2 = Query Replace Backward
  117. F3 = Move Forward by Words      /F3 = Move Backward by Words
  118. F4 = Move to a line #          /F4 = Display current line #
  119. F5 = Reduce window size by count  /F5 = Increase size by count
  120. F6 = Scroll window up 1 line      /F6 = Scroll window down 1 line
  121. F7 = Start macro          /F7 = End macro
  122. F8 = Execute macro          /F8 = <BLANK>
  123. F9 = Copy Region          /F9 = Cut Region
  124. F10= Paste Kill Buffer or Undo    /F10= Paste Buffer to a File
  125.  
  126. When first using MicroEMACS, I highly recommend making a function key map
  127. to lay in the recessed slot above the function keys.  This map should
  128. look as below with the exception that the words should be aligned over the
  129. function keys.
  130.  
  131.    F1          F2        F3        F4        F5
  132. Search<-   Replace<-      Word<-   Position   Shrink    <-Shift Function keys
  133. Search->   Replace->      Word->     Move     Enlarge   <-Function keys
  134.  
  135.    F6         F7            F8        F9       F10
  136. Scroll ^   End Macro      <BLANK>     Cut   File Paste  <-Shift Function keys
  137. Scroll v  Start Macro  Execute Macro  Copy    Paste     <-Function keys
  138.  
  139.  
  140. Additional Features
  141. -------------------
  142.  
  143. Alt Keys as Meta Keys -- Instead of typing <ESC> before meta command chars,
  144. you can use either of the two <ALT> keys as a shift.  For example, instead
  145. of typing <ESC>v to go to the previous screen, you can hold down an <ALT>
  146. key and type v.  This is usually much faster.
  147.  
  148. Default buffer on switches -- Switches to previous buffer if no buffer is
  149. specified in <ctrl-X>b.  This is usually the one you want so it saves typing in
  150. the name.
  151.  
  152. Interactive priority -- The memacs process priority is set to 1 (default is
  153. 0) to improve interactive response when multiple processes are active.
  154. Without this feature, response is sluggish when, for example, compiling is
  155. going on in the background.
  156.  
  157. File Backup -- A backup file is created whenever a file is written.  The
  158. backup file name is the original name with a 'O' appended.  Thus, if you
  159. write a file named "my.c", the directory will contain the file you just
  160. wrote out as "my.c" and the original file as "my.cO".
  161.  
  162. Paragraph Fill -- Justifying paragraphs <META-Q> has been added.  This does
  163. things like shortening long lines, lengthening short lines, removing extra
  164. spaces and adding missing spaces.  It will try to be smart about how many
  165. spaces should go after a period, but don't expect perfection.  Colons will
  166. always be followed by two spaces.
  167.  
  168. Word Wrap on Input -- This feature has been fixed to work correctly.  It
  169. will automatically break lines at word boundaries as you input text.  It is
  170. initially set to off.  It can be toggled by <crtl-X>t or using the Word
  171. wrap selection in the Options menu.
  172.  
  173. Query Replace -- You can now do mass text substitutions in a file via the
  174. query replace command <META-%>. It will ask for the string to replace and
  175. the string to replace it with.  It will then search (case-independent) and
  176. display each occurance it finds between the current point and the end of
  177. the file.  At each occurance, you must type one of several choices:
  178.  
  179.     y or <SPACE> to replace the old string with the new one.
  180.     n or <DEL> to not replace, i.e. to leave the original string.
  181.     a to replace this and all subsequent occurances.
  182.     <ctrl-G> to abort.
  183.